package org.redis.cluster.loadbalance;

import java.util.Collection;

import org.redis.cluster.config.ClientConfig;
import org.redis.cluster.redis.RedisCommand;

public interface LoadBalance {

	/**
	 * 选择
	 * @param configs
	 * @param command
	 * @return
	 */
	public ClientConfig select(Collection<ClientConfig> configs,RedisCommand command);
}